package com.slipper.sfts.api.stock.service;

import com.slipper.common.bo.Result;
import com.slipper.common.feign.ServiceClient;
import com.slipper.common.annotation.FeignRequestMapping;
import com.slipper.sfts.api.stock.bo.StockPositionBO;

import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 股票持仓信息表
 */
@ServiceClient
public interface IStockPositionSv {
    @FeignRequestMapping("/stockPosition/queryBy")
    Result<StockPositionBO> queryBy(@RequestBody String id);

    @FeignRequestMapping("/stockPosition/queryList")
    Result<List<StockPositionBO>> queryList(@RequestBody StockPositionBO bo);

    @FeignRequestMapping("/stockPosition/queryPage")
    Result<List<StockPositionBO>> queryPage(@RequestBody StockPositionBO bo);

    @FeignRequestMapping("/stockPosition/save")
    Result<?> save(@RequestBody StockPositionBO bo);
    
    @FeignRequestMapping("/stockPosition/delete")
    Result<?> delete(@RequestBody StockPositionBO bo);
}
